package bubbleFishBob.game;

import java.awt.Graphics2D;
import java.io.File;

import bubbleFishBob.utilities.XMLReader;

import com.golden.gamedev.Game;

public abstract class AbstractLevel
{
    protected Game myGame;
    protected File myLevelFile;
    protected XMLReader myXMLReader;
    
    public AbstractLevel(Game game)
    {
        myGame = game;
    }
    
    public AbstractLevel(Game game, File file)
    {
        this(game);
        myLevelFile = file;
        myXMLReader = new XMLReader(myLevelFile);
    }
    
    
    public abstract void render(Graphics2D g);
    
    public abstract void update(long elapsedTime);
}
